Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/bug 424 review next cache race #821

Merged
merged 11 commits into from
Jan 15, 2024

Conversation

karimodm
Copy link
Contributor

@karimodm karimodm commented Dec 29, 2023

Fixes #424 and #582 (duplicate)

Bonus: avoids syncing for the whole vault by changing scheduledNotes within the reviewDecks in-place.

@ronzulu
Copy link
Collaborator

ronzulu commented Jan 3, 2024

Hi @karimodm I'm a little confused by the status shown by GitHub

image

Do you know why it is saying "lint_and_test Expected — Waiting for status to be reported"? My experience is that this only displays temporarily whilst the test is being performed (a minute or two)

Cheers
Ronny

@karimodm karimodm force-pushed the fix/bug-424-review-next-cache-race branch from b52485c to 25cbabc Compare January 3, 2024 09:52
@karimodm
Copy link
Contributor Author

karimodm commented Jan 3, 2024

I think the workflow is waiting for an approval to be run! Can you please approve @ronzulu or we have to ask @st3v3nmw ?

@ronzulu
Copy link
Collaborator

ronzulu commented Jan 6, 2024

I think the workflow is waiting for an approval to be run! Can you please approve @ronzulu or we have to ask @st3v3nmw ?

Hi @st3v3nmw

@karimodm's fix LGTM and has also been tested by @axb. Could you please approve and merge. I don't think this is something I can do.

Cheers
Ronny

Copy link
Owner

@st3v3nmw st3v3nmw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @karimodm,

Thanks for the fix!

@st3v3nmw st3v3nmw merged commit 17fad0c into st3v3nmw:master Jan 15, 2024
1 check passed
@ronzulu
Copy link
Collaborator

ronzulu commented Jan 16, 2024

Hi @st3v3nmw

I'm pretty sure that by fixing this @karimodm also fixed:
#437 [BUG] Update number of notes after a review
#837 [BUG] the number of notes to be reviewed in status bar is incorrect

Could you please check. Would be great if we can close off another 2 issues!

Cheers
Ronny

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Note review doesn't open next note automatically after a review
3 participants